package com.lzh.persevere.model.ro.comment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel(value = "DislikeCommentRO")
public class DislikeCommentRO {

    @NotNull(message = "评论ID不能为空")
    @ApiModelProperty(value = "评论ID")
    private Long commentId;

    @NotNull(message = "点踩状态不能为空")
    @ApiModelProperty(value = "点踩/取消点踩：true点踩 false取消点踩")
    private Boolean isDislike;
}
